﻿<?php 
	$con=$_REQUEST['con'];
	if($con=="")
	{
		$web=mysql_query("select * from web");
		$row_web=mysql_fetch_array($web);
		$domain=mysql_query("select * from domain");
		$row_domain=mysql_fetch_array($domain);
		$phanmem=mysql_query("select * from phanmem");
		$row_phanmem=mysql_fetch_array($phanmem);
		$tuvan=mysql_query("select * from tuvan");
		$row_tuvan=mysql_fetch_array($tuvan);
	}
?>
<link type="text/css" rel="stylesheet" href="css/global.css">
<link type="text/css" rel="stylesheet" href="css/style.css">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<div id="main" class="grid_12">
		<div id="main" class="grid_3 alpha">
			<div class="grid_3">
				<div class="grid_1 alpha"><img src="img/1.jpg" /></div>
				<div class="grid_2 omega title" align="center"><a href="?rmk=catmain&cat=w" >Web </a><br />&nbsp;<br /></div>	
			</div> 
			<div class="grid_3 content1">
				<div class="grid_3 content2"><?php echo substr($row_web['wDetail'],0,100);?></div> 	
			</div>			
		</div>
		<div id="main" class="grid_3">
			<div class="grid_3">
				<div class="grid_1 alpha"><img src="img/2.jpg" /></div>
				<div class="grid_2 omega title" align="center"><a href="?rmk=catmain&cat=dm" >Hosting & Domain</a></div>
			</div> 
			<div class="grid_3 content1" align="center">
				<div class="grid_3 content2"><?php echo substr($row_domain['dmDetail'],0,100);?></div> 
			</div>		
		</div>
		<div id="main" class="grid_3">
			<div class="grid_3">
				<div class="grid_1 alpha"><img src="img/3.jpg" /></div>
				<div class="grid_2 omega title" align="center"><a href="?rmk=catmain&cat=pm" >Phần mềm</a> <br />&nbsp;<br /></div>
			</div> 
			<div class="grid_3 content1">
				<div class="grid_3 content2"><?php echo substr($row_phanmem['pmDetail'],0,100);?></div> 
			</div>		
		</div>
		<div id="main" class="grid_3 omega">
			<div class="grid_3">
				<div class="grid_1 alpha"><img src="img/4.jpg" /></div>
				<div class="grid_2 omega title" align="center"><a href="?rmk=catmain&cat=tv" >Tư vấn</a> 
				 <br />&nbsp;<br /></div>
			</div> 
			<div class="grid_3">
				<div class="grid_3 content2"><?php echo substr($row_tuvan['tvDetail'],0,100);?></div> 	
			</div>	
		</div>
	</div>